package com.hntxk.cqzd.common.action;


import com.alibaba.fastjson.JSONObject;
import com.hntxk.core.framework.action.BaseController;

import com.hntxk.cqzd.flup.entity.FlupFile;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import springfox.documentation.annotations.ApiIgnore;

import javax.servlet.http.HttpServletRequest;
import java.io.*;

@Api(value="测试", tags={"[SP]测试"})
@Controller
@RequestMapping("commom/file")
@Slf4j
public class UploadController  extends  BaseController{

    @RequestMapping(value = "/ceshi", produces= PRODUCE_UTF8_JSON)
    @ResponseBody
    public String ceshi(){
        /*String str="{\n" +
                "  \"resourceType\": \"Bundle\",\n" +
                "  \"id\": \"9de48216-c301-443e-8071-13531cd3eaeb\",\n" +
                "  \"meta\": {\n" +
                "    \"lastUpdated\": \"2019-05-13T16:48:43.655+08:00\"\n" +
                "  },\n" +
                "  \"type\": \"searchset\",\n" +
                "  \"total\": 1,\n" +
                "  \"link\": [\n" +
                "    {\n" +
                "      \"relation\": \"self\",\n" +
                "      \"url\": \"http://192.168.225.156:6082/EncounterPoint/fhir/Appointment?visitNo=0000261552&visitTypeCode=01\"\n" +
                "    }\n" +
                "  ],\n" +
                "  \"entry\": [\n" +
                "    {\n" +
                "      \"fullUrl\": \"http://192.168.225.156:6082/EncounterPoint/fhir/Appointment/01:7361766\",\n" +
                "      \"resource\": {\n" +
                "        \"resourceType\": \"Appointment\",\n" +
                "        \"id\": \"01:7361766\",\n" +
                "        \"meta\": {\n" +
                "          \"profile\": [\n" +
                "            \"http://neusoft.com/nhip/StructureDefinition/Appointment\"\n" +
                "          ]\n" +
                "        },\n" +
                "        \"extension\": [\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/visitNo\",\n" +
                "            \"valueString\": \"0000261552\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/Appointment/visitType\",\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"01\",\n" +
                "              \"display\": \"门诊\"\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/Appointment/payWay\",\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"01\"\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/registrationSQ\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/ynBook\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/appendFlag\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/emergencyFlag\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/pactCode\",\n" +
                "            \"valueString\": \"01\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/isExpert\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"identifier\": [\n" +
                "          {\n" +
                "            \"system\": \"Naming/Appointment/visitSqNo\",\n" +
                "            \"value\": \"7361766\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"status\": \"booked\",\n" +
                "        \"serviceCategory\": {\n" +
                "          \"coding\": [\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/Appointment/registrationWay\",\n" +
                "              \"code\": \"05\",\n" +
                "              \"display\": \"网上挂号\"\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"serviceType\": [\n" +
                "          {\n" +
                "            \"coding\": [\n" +
                "              {\n" +
                "                \"system\": \"CodeSystem/Appointment/visitClass\",\n" +
                "                \"code\": \"01\",\n" +
                "                \"display\": \"普通号\"\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"specialty\": [\n" +
                "          {\n" +
                "            \"coding\": [\n" +
                "              {\n" +
                "                \"system\": \"Naming/Appointment/registrationDept\",\n" +
                "                \"code\": \"071310\",\n" +
                "                \"display\": \"内科门诊(河西)\"\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"supportingInformation\": [\n" +
                "          {\n" +
                "            \"identifier\": {\n" +
                "              \"system\": \"Naming/Appointment/invoiceNo\",\n" +
                "              \"value\": \"000410801509\"\n" +
                "            }\n" +
                "          }\n" +
                "        ],\n" +
                "        \"start\": \"2018-09-12T10:25:04+08:00\",\n" +
                "        \"participant\": [\n" +
                "          {\n" +
                "            \"type\": [\n" +
                "              {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                    \"code\": \"01\",\n" +
                "                    \"display\": \"patient\"\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            ],\n" +
                "            \"actor\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/patientLocalId\",\n" +
                "                  \"valueString\": \"0000261552\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/patientName\",\n" +
                "                  \"valueString\": \"马希米\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/card\",\n" +
                "                  \"valueCodeableConcept\": {\n" +
                "                    \"coding\": [\n" +
                "                      {\n" +
                "                        \"system\": \"CodeSystem/Appointment/cardType\",\n" +
                "                        \"code\": \"5\",\n" +
                "                        \"display\": \"市民卡\"\n" +
                "                      }\n" +
                "                    ],\n" +
                "                    \"text\": \"9113000109142626\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/gender\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"system\": \"CodeSystem/Appointment/gender\",\n" +
                "                    \"code\": \"F\",\n" +
                "                    \"display\": \"女\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/birthday\",\n" +
                "                  \"valueDateTime\": \"2015-09-27T00:00:00+08:00\"\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"status\": \"accepted\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"type\": [\n" +
                "              {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                    \"code\": \"02\",\n" +
                "                    \"display\": \"registrationDoc\"\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            ],\n" +
                "            \"status\": \"accepted\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"type\": [\n" +
                "              {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                    \"code\": \"03\",\n" +
                "                    \"display\": \"createUser\"\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            ],\n" +
                "            \"actor\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/createUser\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"030977\"\n" +
                "                  }\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"status\": \"accepted\"\n" +
                "          }\n" +
                "        ]\n" +
                "      }\n" +
                "    }\n" +
                "  ]\n" +
                "}\n";*/
        String str="{\n" +
                "    \"resourceType\": \"Bundle\",\n" +
                "    \"id\": \"0db67af0-57b8-4aa8-811f-62adf30abdcb\",\n" +
                "    \"meta\": {\n" +
                "        \"lastUpdated\": \"2019-11-14T14:21:47.645+08:00\"\n" +
                "    },\n" +
                "    \"type\": \"searchset\",\n" +
                "    \"total\": 3,\n" +
                "    \"link\": [{\n" +
                "            \"relation\": \"self\",\n" +
                "            \"url\": \"http://192.168.10.141:8082/EncounterPoint/fhir/Appointment?visitNo=001&visitTypeCode=01\"\n" +
                "        }\n" +
                "    ],\n" +
                "    \"entry\": [{\n" +
                "            \"fullUrl\": \"http://192.168.10.141:8082/EncounterPoint/fhir/Appointment/01:2345689\",\n" +
                "            \"resource\": {\n" +
                "                \"resourceType\": \"Appointment\",\n" +
                "                \"id\": \"01:2345689\",\n" +
                "                \"meta\": {\n" +
                "                    \"profile\": [\n" +
                "                        \"http://neusoft.com/nhip/StructureDefinition/Appointment\"\n" +
                "                    ]\n" +
                "                },\n" +
                "                \"contained\": [{\n" +
                "                        \"resourceType\": \"Claim\",\n" +
                "                        \"id\": \"001\",\n" +
                "                        \"meta\": {\n" +
                "                            \"profile\": [\n" +
                "                                \"http://neusoft.com/nhip/StructureDefinition/Claim\"\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"extension\": [{\n" +
                "                                \"url\": \"Naming/Claim/visitNo\",\n" +
                "                                \"valueString\": \"p001\"\n" +
                "                            }, {\n" +
                "                                \"url\": \"CodeSystem/Claim/visitType\",\n" +
                "                                \"valueCoding\": {\n" +
                "                                    \"code\": \"01\",\n" +
                "                                    \"display\": \"סԺ\"\n" +
                "                                }\n" +
                "                            }, {\n" +
                "                                \"url\": \"Naming/Claim/visitSqNo\",\n" +
                "                                \"valueString\": \"p001^סԺ\"\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"identifier\": [{\n" +
                "                                \"system\": \"Naming/Claim/invoiceNo\",\n" +
                "                                \"value\": \"001\"\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"status\": \"active\",\n" +
                "                        \"type\": {\n" +
                "                            \"coding\": [{\n" +
                "                                    \"system\": \"Naming/Claim/outpatient\",\n" +
                "                                    \"code\": \"02\",\n" +
                "                                    \"display\": \"�Һ�\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"use\": \"complete\",\n" +
                "                        \"patient\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Claim/patientLocalId\",\n" +
                "                                    \"valueString\": \"P1001\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/pHealthCard\",\n" +
                "                                    \"valueString\": \"1001\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/cHealthCard\",\n" +
                "                                    \"valueString\": \"1002\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/oneCardPass\",\n" +
                "                                    \"valueString\": \"1003\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"created\": \"2014-08-16\",\n" +
                "                        \"priority\": {\n" +
                "                            \"coding\": [{\n" +
                "                                    \"system\": \"CodeSystem/Claim/regLevel\",\n" +
                "                                    \"code\": \"01\",\n" +
                "                                    \"display\": \"��\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"careTeam\": [{\n" +
                "                                \"provider\": {\n" +
                "                                    \"reference\": \"CreateUser/01\",\n" +
                "                                    \"identifier\": {\n" +
                "                                        \"type\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/createUser\",\n" +
                "                                                    \"code\": \"01\",\n" +
                "                                                    \"display\": \"������\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        }\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"item\": [{\n" +
                "                                \"sequence\": 1,\n" +
                "                                \"revenue\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/regDept\",\n" +
                "                                            \"code\": \"001\",\n" +
                "                                            \"display\": \"�Һſ���\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"category\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/isEmergency\",\n" +
                "                                            \"code\": \"1\"\n" +
                "                                        }, {\n" +
                "                                            \"system\": \"Naming/Claim/valid\",\n" +
                "                                            \"code\": \"2\"\n" +
                "                                        }, {\n" +
                "                                            \"system\": \"Naming/Claim/netRegFlag\",\n" +
                "                                            \"code\": \"0\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"service\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/contractNo\",\n" +
                "                                            \"code\": \"1201\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"unitPrice\": {\n" +
                "                                    \"value\": 135.57,\n" +
                "                                    \"unit\": \"���õ�λ����\",\n" +
                "                                    \"system\": \"CodeSystem/Claim/unitPrice\",\n" +
                "                                    \"code\": \"USD\"\n" +
                "                                },\n" +
                "                                \"net\": {\n" +
                "                                    \"value\": 135.57\n" +
                "                                },\n" +
                "                                \"detail\": [{\n" +
                "                                        \"sequence\": 1001,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/regCost\",\n" +
                "                                                    \"code\": \"01\",\n" +
                "                                                    \"display\": \"�Һŷ�\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 15.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 467.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1002,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/checkCost\",\n" +
                "                                                    \"code\": \"02\",\n" +
                "                                                    \"display\": \"����\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 99\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 2970\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1003,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/diagCost\",\n" +
                "                                                    \"code\": \"03\",\n" +
                "                                                    \"display\": \"����\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 99\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 2970\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1004,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/othCost\",\n" +
                "                                                    \"code\": \"04\",\n" +
                "                                                    \"display\": \"���ӷ�\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1005,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/ownCost\",\n" +
                "                                                    \"code\": \"05\",\n" +
                "                                                    \"display\": \"�Էѽ��\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1006,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/pubCost\",\n" +
                "                                                    \"code\": \"06\",\n" +
                "                                                    \"display\": \"�������\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1007,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/payCost\",\n" +
                "                                                    \"code\": \"07\",\n" +
                "                                                    \"display\": \"�Ը����\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"total\": {\n" +
                "                            \"value\": 4990.98\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"extension\": [{\n" +
                "                        \"url\": \"Naming/Appointment/visitNo\",\n" +
                "                        \"valueString\": \"001\"\n" +
                "                    }, {\n" +
                "                        \"url\": \"CodeSystem/Appointment/visitType\",\n" +
                "                        \"valueCoding\": {\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"����\"\n" +
                "                        }\n" +
                "                    }, {\n" +
                "                        \"url\": \"CodeSystem/Appointment/payWay\",\n" +
                "                        \"valueCoding\": {\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"�Է�\"\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"identifier\": [{\n" +
                "                        \"system\": \"Naming/Appointment/visitSqNo\",\n" +
                "                        \"value\": \"2345689\"\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"status\": \"booked\",\n" +
                "                \"serviceCategory\": {\n" +
                "                    \"coding\": [{\n" +
                "                            \"system\": \"CodeSystem/Appointment/registrationWay\",\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"���ڹҺ�\"\n" +
                "                        }\n" +
                "                    ]\n" +
                "                },\n" +
                "                \"serviceType\": [{\n" +
                "                        \"coding\": [{\n" +
                "                                \"system\": \"CodeSystem/Appointment/visitClass\",\n" +
                "                                \"code\": \"52\",\n" +
                "                                \"display\": \"��ͨ��\"\n" +
                "                            }\n" +
                "                        ]\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"specialty\": [{\n" +
                "                        \"coding\": [{\n" +
                "                                \"system\": \"Naming/Appointment/registrationDept\",\n" +
                "                                \"code\": \"066\",\n" +
                "                                \"display\": \"�ۿ�\"\n" +
                "                            }\n" +
                "                        ]\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"priority\": 5,\n" +
                "                \"description\": \"Discussion on the results of your recent MRI\",\n" +
                "                \"supportingInformation\": [{\n" +
                "                        \"reference\": \"#001\",\n" +
                "                        \"identifier\": {\n" +
                "                            \"system\": \"Naming/Appointment/invoiceNo\",\n" +
                "                            \"value\": \"001\"\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"start\": \"2013-12-10T09:00:00Z\",\n" +
                "                \"participant\": [{\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"patient\",\n" +
                "                                        \"display\": \"����\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/patientLocalId\",\n" +
                "                                    \"valueString\": \"p00176\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Appointment/patientName\",\n" +
                "                                    \"valueString\": \"��������\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Appointment/pHealthCard\",\n" +
                "                                    \"valueString\": \"p00176\"\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8082/EncounterPoint/fhir/Patient/p00176\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }, {\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"registrationDoc\",\n" +
                "                                        \"display\": \"�Һ�ҽ��\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/registrationDoc\",\n" +
                "                                    \"valueCoding\": {\n" +
                "                                        \"code\": \"1234\",\n" +
                "                                        \"display\": \"�Һ�ҽ������\"\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8087/Mdm/fhir/Practitioner/1234\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }, {\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"createUser\",\n" +
                "                                        \"display\": \"������\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/createUser\",\n" +
                "                                    \"valueCoding\": {\n" +
                "                                        \"code\": \"431\",\n" +
                "                                        \"display\": \"����������\"\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8087/Mdm/fhir/Practitioner/431\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }\n" +
                "                ]\n" +
                "            }\n" +
                "        }, {\n" +
                "            \"fullUrl\": \"http://192.168.10.141:8082/EncounterPoint/fhir/Appointment/01:2345679\",\n" +
                "            \"resource\": {\n" +
                "                \"resourceType\": \"Appointment\",\n" +
                "                \"id\": \"01:2345679\",\n" +
                "                \"meta\": {\n" +
                "                    \"profile\": [\n" +
                "                        \"http://neusoft.com/nhip/StructureDefinition/Appointment\"\n" +
                "                    ]\n" +
                "                },\n" +
                "                \"contained\": [{\n" +
                "                        \"resourceType\": \"Claim\",\n" +
                "                        \"id\": \"001\",\n" +
                "                        \"meta\": {\n" +
                "                            \"profile\": [\n" +
                "                                \"http://neusoft.com/nhip/StructureDefinition/Claim\"\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"extension\": [{\n" +
                "                                \"url\": \"Naming/Claim/visitNo\",\n" +
                "                                \"valueString\": \"p001\"\n" +
                "                            }, {\n" +
                "                                \"url\": \"CodeSystem/Claim/visitType\",\n" +
                "                                \"valueCoding\": {\n" +
                "                                    \"code\": \"01\",\n" +
                "                                    \"display\": \"סԺ\"\n" +
                "                                }\n" +
                "                            }, {\n" +
                "                                \"url\": \"Naming/Claim/visitSqNo\",\n" +
                "                                \"valueString\": \"p001^סԺ\"\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"identifier\": [{\n" +
                "                                \"system\": \"Naming/Claim/invoiceNo\",\n" +
                "                                \"value\": \"001\"\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"status\": \"active\",\n" +
                "                        \"type\": {\n" +
                "                            \"coding\": [{\n" +
                "                                    \"system\": \"Naming/Claim/outpatient\",\n" +
                "                                    \"code\": \"02\",\n" +
                "                                    \"display\": \"�Һ�\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"use\": \"complete\",\n" +
                "                        \"patient\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Claim/patientLocalId\",\n" +
                "                                    \"valueString\": \"P1001\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/pHealthCard\",\n" +
                "                                    \"valueString\": \"1001\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/cHealthCard\",\n" +
                "                                    \"valueString\": \"1002\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/oneCardPass\",\n" +
                "                                    \"valueString\": \"1003\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"created\": \"2014-08-16\",\n" +
                "                        \"priority\": {\n" +
                "                            \"coding\": [{\n" +
                "                                    \"system\": \"CodeSystem/Claim/regLevel\",\n" +
                "                                    \"code\": \"01\",\n" +
                "                                    \"display\": \"��\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"careTeam\": [{\n" +
                "                                \"provider\": {\n" +
                "                                    \"reference\": \"CreateUser/01\",\n" +
                "                                    \"identifier\": {\n" +
                "                                        \"type\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/createUser\",\n" +
                "                                                    \"code\": \"01\",\n" +
                "                                                    \"display\": \"������\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        }\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"item\": [{\n" +
                "                                \"sequence\": 1,\n" +
                "                                \"revenue\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/regDept\",\n" +
                "                                            \"code\": \"001\",\n" +
                "                                            \"display\": \"�Һſ���\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"category\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/isEmergency\",\n" +
                "                                            \"code\": \"1\"\n" +
                "                                        }, {\n" +
                "                                            \"system\": \"Naming/Claim/valid\",\n" +
                "                                            \"code\": \"2\"\n" +
                "                                        }, {\n" +
                "                                            \"system\": \"Naming/Claim/netRegFlag\",\n" +
                "                                            \"code\": \"0\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"service\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/contractNo\",\n" +
                "                                            \"code\": \"1201\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"unitPrice\": {\n" +
                "                                    \"value\": 135.57,\n" +
                "                                    \"unit\": \"���õ�λ����\",\n" +
                "                                    \"system\": \"CodeSystem/Claim/unitPrice\",\n" +
                "                                    \"code\": \"USD\"\n" +
                "                                },\n" +
                "                                \"net\": {\n" +
                "                                    \"value\": 135.57\n" +
                "                                },\n" +
                "                                \"detail\": [{\n" +
                "                                        \"sequence\": 1001,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/regCost\",\n" +
                "                                                    \"code\": \"01\",\n" +
                "                                                    \"display\": \"�Һŷ�\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 15.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 467.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1002,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/checkCost\",\n" +
                "                                                    \"code\": \"02\",\n" +
                "                                                    \"display\": \"����\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 99\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 2970\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1003,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/diagCost\",\n" +
                "                                                    \"code\": \"03\",\n" +
                "                                                    \"display\": \"����\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 99\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 2970\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1004,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/othCost\",\n" +
                "                                                    \"code\": \"04\",\n" +
                "                                                    \"display\": \"���ӷ�\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1005,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/ownCost\",\n" +
                "                                                    \"code\": \"05\",\n" +
                "                                                    \"display\": \"�Էѽ��\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1006,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/pubCost\",\n" +
                "                                                    \"code\": \"06\",\n" +
                "                                                    \"display\": \"�������\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1007,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/payCost\",\n" +
                "                                                    \"code\": \"07\",\n" +
                "                                                    \"display\": \"�Ը����\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"total\": {\n" +
                "                            \"value\": 4990.98\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"extension\": [{\n" +
                "                        \"url\": \"Naming/Appointment/visitNo\",\n" +
                "                        \"valueString\": \"001\"\n" +
                "                    }, {\n" +
                "                        \"url\": \"CodeSystem/Appointment/visitType\",\n" +
                "                        \"valueCoding\": {\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"����\"\n" +
                "                        }\n" +
                "                    }, {\n" +
                "                        \"url\": \"CodeSystem/Appointment/payWay\",\n" +
                "                        \"valueCoding\": {\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"�Է�\"\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"identifier\": [{\n" +
                "                        \"system\": \"Naming/Appointment/visitSqNo\",\n" +
                "                        \"value\": \"2345679\"\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"status\": \"booked\",\n" +
                "                \"serviceCategory\": {\n" +
                "                    \"coding\": [{\n" +
                "                            \"system\": \"CodeSystem/Appointment/registrationWay\",\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"���ڹҺ�\"\n" +
                "                        }\n" +
                "                    ]\n" +
                "                },\n" +
                "                \"serviceType\": [{\n" +
                "                        \"coding\": [{\n" +
                "                                \"system\": \"CodeSystem/Appointment/visitClass\",\n" +
                "                                \"code\": \"52\",\n" +
                "                                \"display\": \"��ͨ��\"\n" +
                "                            }\n" +
                "                        ]\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"specialty\": [{\n" +
                "                        \"coding\": [{\n" +
                "                                \"system\": \"Naming/Appointment/registrationDept\",\n" +
                "                                \"code\": \"066\",\n" +
                "                                \"display\": \"�ۿ�\"\n" +
                "                            }\n" +
                "                        ]\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"priority\": 5,\n" +
                "                \"description\": \"Discussion on the results of your recent MRI\",\n" +
                "                \"supportingInformation\": [{\n" +
                "                        \"reference\": \"#001\",\n" +
                "                        \"identifier\": {\n" +
                "                            \"system\": \"Naming/Appointment/invoiceNo\",\n" +
                "                            \"value\": \"001\"\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"start\": \"2013-12-10T09:00:00Z\",\n" +
                "                \"participant\": [{\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"patient\",\n" +
                "                                        \"display\": \"����\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/patientLocalId\",\n" +
                "                                    \"valueString\": \"p00176\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Appointment/patientName\",\n" +
                "                                    \"valueString\": \"��������\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Appointment/pHealthCard\",\n" +
                "                                    \"valueString\": \"p00176\"\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8082/EncounterPoint/fhir/Patient/p00176\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }, {\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"registrationDoc\",\n" +
                "                                        \"display\": \"�Һ�ҽ��\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/registrationDoc\",\n" +
                "                                    \"valueCoding\": {\n" +
                "                                        \"code\": \"1234\",\n" +
                "                                        \"display\": \"�Һ�ҽ������\"\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8087/Mdm/fhir/Practitioner/1234\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }, {\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"createUser\",\n" +
                "                                        \"display\": \"������\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/createUser\",\n" +
                "                                    \"valueCoding\": {\n" +
                "                                        \"code\": \"431\",\n" +
                "                                        \"display\": \"����������\"\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8087/Mdm/fhir/Practitioner/431\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }\n" +
                "                ]\n" +
                "            }\n" +
                "        }, {\n" +
                "            \"fullUrl\": \"http://192.168.10.141:8082/EncounterPoint/fhir/Appointment/01:2345678\",\n" +
                "            \"resource\": {\n" +
                "                \"resourceType\": \"Appointment\",\n" +
                "                \"id\": \"01:2345678\",\n" +
                "                \"meta\": {\n" +
                "                    \"profile\": [\n" +
                "                        \"http://neusoft.com/nhip/StructureDefinition/Appointment\"\n" +
                "                    ]\n" +
                "                },\n" +
                "                \"contained\": [{\n" +
                "                        \"resourceType\": \"Claim\",\n" +
                "                        \"id\": \"001\",\n" +
                "                        \"meta\": {\n" +
                "                            \"profile\": [\n" +
                "                                \"http://neusoft.com/nhip/StructureDefinition/Claim\"\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"extension\": [{\n" +
                "                                \"url\": \"Naming/Claim/visitNo\",\n" +
                "                                \"valueString\": \"p001\"\n" +
                "                            }, {\n" +
                "                                \"url\": \"CodeSystem/Claim/visitType\",\n" +
                "                                \"valueCoding\": {\n" +
                "                                    \"code\": \"01\",\n" +
                "                                    \"display\": \"住院\"\n" +
                "                                }\n" +
                "                            }, {\n" +
                "                                \"url\": \"Naming/Claim/visitSqNo\",\n" +
                "                                \"valueString\": \"p001^住院\"\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"identifier\": [{\n" +
                "                                \"system\": \"Naming/Claim/invoiceNo\",\n" +
                "                                \"value\": \"001\"\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"status\": \"active\",\n" +
                "                        \"type\": {\n" +
                "                            \"coding\": [{\n" +
                "                                    \"system\": \"Naming/Claim/outpatient\",\n" +
                "                                    \"code\": \"02\",\n" +
                "                                    \"display\": \"挂号\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"use\": \"complete\",\n" +
                "                        \"patient\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Claim/patientLocalId\",\n" +
                "                                    \"valueString\": \"P1001\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/pHealthCard\",\n" +
                "                                    \"valueString\": \"1001\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/cHealthCard\",\n" +
                "                                    \"valueString\": \"1002\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Claim/oneCardPass\",\n" +
                "                                    \"valueString\": \"1003\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"created\": \"2014-08-16\",\n" +
                "                        \"priority\": {\n" +
                "                            \"coding\": [{\n" +
                "                                    \"system\": \"CodeSystem/Claim/regLevel\",\n" +
                "                                    \"code\": \"01\",\n" +
                "                                    \"display\": \"中\"\n" +
                "                                }\n" +
                "                            ]\n" +
                "                        },\n" +
                "                        \"careTeam\": [{\n" +
                "                                \"provider\": {\n" +
                "                                    \"reference\": \"CreateUser/01\",\n" +
                "                                    \"identifier\": {\n" +
                "                                        \"type\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/createUser\",\n" +
                "                                                    \"code\": \"01\",\n" +
                "                                                    \"display\": \"创建者\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        }\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"item\": [{\n" +
                "                                \"sequence\": 1,\n" +
                "                                \"revenue\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/regDept\",\n" +
                "                                            \"code\": \"001\",\n" +
                "                                            \"display\": \"挂号科室\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"category\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/isEmergency\",\n" +
                "                                            \"code\": \"1\"\n" +
                "                                        }, {\n" +
                "                                            \"system\": \"Naming/Claim/valid\",\n" +
                "                                            \"code\": \"2\"\n" +
                "                                        }, {\n" +
                "                                            \"system\": \"Naming/Claim/netRegFlag\",\n" +
                "                                            \"code\": \"0\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"service\": {\n" +
                "                                    \"coding\": [{\n" +
                "                                            \"system\": \"Naming/Claim/contractNo\",\n" +
                "                                            \"code\": \"1201\"\n" +
                "                                        }\n" +
                "                                    ]\n" +
                "                                },\n" +
                "                                \"unitPrice\": {\n" +
                "                                    \"value\": 135.57,\n" +
                "                                    \"unit\": \"费用单位名称\",\n" +
                "                                    \"system\": \"CodeSystem/Claim/unitPrice\",\n" +
                "                                    \"code\": \"USD\"\n" +
                "                                },\n" +
                "                                \"net\": {\n" +
                "                                    \"value\": 135.57\n" +
                "                                },\n" +
                "                                \"detail\": [{\n" +
                "                                        \"sequence\": 1001,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/regCost\",\n" +
                "                                                    \"code\": \"01\",\n" +
                "                                                    \"display\": \"挂号费\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 15.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 467.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1002,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/checkCost\",\n" +
                "                                                    \"code\": \"02\",\n" +
                "                                                    \"display\": \"检查费\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 99\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 2970\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1003,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/diagCost\",\n" +
                "                                                    \"code\": \"03\",\n" +
                "                                                    \"display\": \"诊查费\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 99\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 2970\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1004,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/othCost\",\n" +
                "                                                    \"code\": \"04\",\n" +
                "                                                    \"display\": \"附加费\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1005,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/ownCost\",\n" +
                "                                                    \"code\": \"05\",\n" +
                "                                                    \"display\": \"自费金额\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1006,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/pubCost\",\n" +
                "                                                    \"code\": \"06\",\n" +
                "                                                    \"display\": \"报销金额\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }, {\n" +
                "                                        \"sequence\": 1007,\n" +
                "                                        \"category\": {\n" +
                "                                            \"coding\": [{\n" +
                "                                                    \"system\": \"Naming/Claim/payCost\",\n" +
                "                                                    \"code\": \"07\",\n" +
                "                                                    \"display\": \"自付金额\"\n" +
                "                                                }\n" +
                "                                            ]\n" +
                "                                        },\n" +
                "                                        \"unitPrice\": {\n" +
                "                                            \"value\": 36.57\n" +
                "                                        },\n" +
                "                                        \"net\": {\n" +
                "                                            \"value\": 1097.1\n" +
                "                                        }\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"total\": {\n" +
                "                            \"value\": 4990.98\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"extension\": [{\n" +
                "                        \"url\": \"Naming/Appointment/visitNo\",\n" +
                "                        \"valueString\": \"001\"\n" +
                "                    }, {\n" +
                "                        \"url\": \"CodeSystem/Appointment/visitType\",\n" +
                "                        \"valueCoding\": {\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"门诊\"\n" +
                "                        }\n" +
                "                    }, {\n" +
                "                        \"url\": \"CodeSystem/Appointment/payWay\",\n" +
                "                        \"valueCoding\": {\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"自费\"\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"identifier\": [{\n" +
                "                        \"system\": \"Naming/Appointment/visitSqNo\",\n" +
                "                        \"value\": \"2345678\"\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"status\": \"booked\",\n" +
                "                \"serviceCategory\": {\n" +
                "                    \"coding\": [{\n" +
                "                            \"system\": \"CodeSystem/Appointment/registrationWay\",\n" +
                "                            \"code\": \"01\",\n" +
                "                            \"display\": \"窗口挂号\"\n" +
                "                        }\n" +
                "                    ]\n" +
                "                },\n" +
                "                \"serviceType\": [{\n" +
                "                        \"coding\": [{\n" +
                "                                \"system\": \"CodeSystem/Appointment/visitClass\",\n" +
                "                                \"code\": \"52\",\n" +
                "                                \"display\": \"普通号\"\n" +
                "                            }\n" +
                "                        ]\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"specialty\": [{\n" +
                "                        \"coding\": [{\n" +
                "                                \"system\": \"Naming/Appointment/registrationDept\",\n" +
                "                                \"code\": \"066\",\n" +
                "                                \"display\": \"眼科\"\n" +
                "                            }\n" +
                "                        ]\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"priority\": 5,\n" +
                "                \"description\": \"Discussion on the results of your recent MRI\",\n" +
                "                \"supportingInformation\": [{\n" +
                "                        \"reference\": \"#001\",\n" +
                "                        \"identifier\": {\n" +
                "                            \"system\": \"Naming/Appointment/invoiceNo\",\n" +
                "                            \"value\": \"001\"\n" +
                "                        }\n" +
                "                    }\n" +
                "                ],\n" +
                "                \"start\": \"2013-12-10T09:00:00Z\",\n" +
                "                \"participant\": [{\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"patient\",\n" +
                "                                        \"display\": \"患者\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/patientLocalId\",\n" +
                "                                    \"valueString\": \"p00176\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Appointment/patientName\",\n" +
                "                                    \"valueString\": \"患者姓名\"\n" +
                "                                }, {\n" +
                "                                    \"url\": \"Naming/Appointment/pHealthCard\",\n" +
                "                                    \"valueString\": \"p00176\"\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8082/EncounterPoint/fhir/Patient/p00176\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }, {\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"registrationDoc\",\n" +
                "                                        \"display\": \"挂号医生\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/registrationDoc\",\n" +
                "                                    \"valueCoding\": {\n" +
                "                                        \"code\": \"1234\",\n" +
                "                                        \"display\": \"挂号医生姓名\"\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8087/Mdm/fhir/Practitioner/1234\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }, {\n" +
                "                        \"type\": [{\n" +
                "                                \"coding\": [{\n" +
                "                                        \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                                        \"code\": \"createUser\",\n" +
                "                                        \"display\": \"创建者\"\n" +
                "                                    }\n" +
                "                                ]\n" +
                "                            }\n" +
                "                        ],\n" +
                "                        \"actor\": {\n" +
                "                            \"extension\": [{\n" +
                "                                    \"url\": \"Naming/Appointment/createUser\",\n" +
                "                                    \"valueCoding\": {\n" +
                "                                        \"code\": \"431\",\n" +
                "                                        \"display\": \"创建者姓名\"\n" +
                "                                    }\n" +
                "                                }\n" +
                "                            ],\n" +
                "                            \"reference\": \"http://192.168.10.141:8087/Mdm/fhir/Practitioner/431\"\n" +
                "                        },\n" +
                "                        \"status\": \"accepted\"\n" +
                "                    }\n" +
                "                ]\n" +
                "            }\n" +
                "        }\n" +
                "    ]\n" +
                "}\n";

        return str;
    }

    @RequestMapping("/")
    public String uploadIndex(){
        return "cqzd/common/upload";
//        return  "cqzd/flup/flupInfo_add";
    }


    public static   String uploadFile(HttpServletRequest request, Long id, MultipartFile[] files)throws Exception{

        if (files.length>0){
            for(MultipartFile file:files){
                String path = request.getServletContext().getRealPath("/upload/");
                System.out.println("path = " + path);
                String fileName = file.getOriginalFilename();
                Long size=file.getSize()/1024;
                String houzui = fileName.substring(fileName.lastIndexOf("."));
                File filepath = new File(path,fileName);
                if(!filepath.getParentFile().exists()){
                    filepath.getParentFile().mkdir();
                }


                FlupFile flupFile = new FlupFile();
                flupFile.setFileId((long) 55);
                flupFile.setFlupId(id);
                file.transferTo(new File(path + File.separator + fileName));
            }

            return "success";
        }else {
            return "error";
        }
    }


    @RequestMapping(value = "/ceshiList", produces= PRODUCE_UTF8_JSON)
    @ResponseBody
    public String ceshiLis(){
        String str="{\n" +
                "  \"resourceType\": \"Bundle\",\n" +
                "  \"id\": \"9de48216-c301-443e-8071-13531cd3eaeb\",\n" +
                "  \"meta\": {\n" +
                "    \"lastUpdated\": \"2019-05-13T16:48:43.655+08:00\"\n" +
                "  },\n" +
                "  \"type\": \"searchset\",\n" +
                "  \"total\": 1,\n" +
                "  \"link\": [\n" +
                "    {\n" +
                "      \"relation\": \"self\",\n" +
                "      \"url\": \"http://192.168.225.156:6082/EncounterPoint/fhir/Appointment?visitNo=0000261552&visitTypeCode=01\"\n" +
                "    }\n" +
                "  ],\n" +
                "  \"entry\": [\n" +
                "    {\n" +
                "      \"fullUrl\": \"http://192.168.225.156:6082/EncounterPoint/fhir/Appointment/01:7361766\",\n" +
                "      \"resource\": {\n" +
                "        \"resourceType\": \"Appointment\",\n" +
                "        \"id\": \"01:7361766\",\n" +
                "        \"meta\": {\n" +
                "          \"profile\": [\n" +
                "            \"http://neusoft.com/nhip/StructureDefinition/Appointment\"\n" +
                "          ]\n" +
                "        },\n" +
                "        \"extension\": [\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/visitNo\",\n" +
                "            \"valueString\": \"0000261552\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/Appointment/visitType\",\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"01\",\n" +
                "              \"display\": \"门诊\"\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/Appointment/payWay\",\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"01\"\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/registrationSQ\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/ynBook\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/appendFlag\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/emergencyFlag\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/pactCode\",\n" +
                "            \"valueString\": \"01\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/Appointment/isExpert\",\n" +
                "            \"valueString\": \"0\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"identifier\": [\n" +
                "          {\n" +
                "            \"system\": \"Naming/Appointment/visitSqNo\",\n" +
                "            \"value\": \"7361766\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"status\": \"booked\",\n" +
                "        \"serviceCategory\": {\n" +
                "          \"coding\": [\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/Appointment/registrationWay\",\n" +
                "              \"code\": \"05\",\n" +
                "              \"display\": \"网上挂号\"\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"serviceType\": [\n" +
                "          {\n" +
                "            \"coding\": [\n" +
                "              {\n" +
                "                \"system\": \"CodeSystem/Appointment/visitClass\",\n" +
                "                \"code\": \"01\",\n" +
                "                \"display\": \"普通号\"\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"specialty\": [\n" +
                "          {\n" +
                "            \"coding\": [\n" +
                "              {\n" +
                "                \"system\": \"Naming/Appointment/registrationDept\",\n" +
                "                \"code\": \"071310\",\n" +
                "                \"display\": \"内科门诊(河西)\"\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"supportingInformation\": [\n" +
                "          {\n" +
                "            \"identifier\": {\n" +
                "              \"system\": \"Naming/Appointment/invoiceNo\",\n" +
                "              \"value\": \"000410801509\"\n" +
                "            }\n" +
                "          }\n" +
                "        ],\n" +
                "        \"start\": \"2018-09-12T10:25:04+08:00\",\n" +
                "        \"participant\": [\n" +
                "          {\n" +
                "            \"type\": [\n" +
                "              {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                    \"code\": \"01\",\n" +
                "                    \"display\": \"patient\"\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            ],\n" +
                "            \"actor\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/patientLocalId\",\n" +
                "                  \"valueString\": \"0000261552\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/patientName\",\n" +
                "                  \"valueString\": \"马希米\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/card\",\n" +
                "                  \"valueCodeableConcept\": {\n" +
                "                    \"coding\": [\n" +
                "                      {\n" +
                "                        \"system\": \"CodeSystem/Appointment/cardType\",\n" +
                "                        \"code\": \"5\",\n" +
                "                        \"display\": \"市民卡\"\n" +
                "                      }\n" +
                "                    ],\n" +
                "                    \"text\": \"9113000109142626\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/gender\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"system\": \"CodeSystem/Appointment/gender\",\n" +
                "                    \"code\": \"F\",\n" +
                "                    \"display\": \"女\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/birthday\",\n" +
                "                  \"valueDateTime\": \"2015-09-27T00:00:00+08:00\"\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"status\": \"accepted\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"type\": [\n" +
                "              {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                    \"code\": \"02\",\n" +
                "                    \"display\": \"registrationDoc\"\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            ],\n" +
                "            \"status\": \"accepted\"\n" +
                "          },\n" +
                "          {\n" +
                "            \"type\": [\n" +
                "              {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Appointment/roleType\",\n" +
                "                    \"code\": \"03\",\n" +
                "                    \"display\": \"createUser\"\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            ],\n" +
                "            \"actor\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Appointment/createUser\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"030977\"\n" +
                "                  }\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"status\": \"accepted\"\n" +
                "          }\n" +
                "        ]\n" +
                "      }\n" +
                "    }\n" +
                "  ]\n" +
                "}\n";

        return str;
    }


    @RequestMapping(value = "/ces", produces= PRODUCE_UTF8_JSON)
    @ResponseBody
    public String ces(@RequestParam String msgid, @RequestParam String tel, @RequestParam String msgcontent, @RequestParam String name, @RequestParam String departid, @RequestParam String key){
        System.out.println("msgid:"+msgid+"\n"+"tel:"+tel+"\n"+"msgcontent:"+msgcontent+"\n"+"name:"+name+"\n"+"departid:"+departid+"\n"+"key:"+key);
        /*String xml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \n" +
                "<string xmlns=\"http://tempuri.org/\">ok</string> ";*/
        /*String xml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \n" +
                "<string xmlns=\"http://tempuri.org/\">短信唯一标识号已存在，请重新输入</string> ";*/
        String xml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \n" +
                "<string xmlns=\"http://tempuri.org/\">key未授权</string>";
        return xml;
    }

    @RequestMapping(value = "/ceLis", produces= PRODUCE_UTF8_JSON)
    @ResponseBody
    public String ceLis(){
        String str = "{\n" +
                "  \"resourceType\": \"Bundle\",//非空\n" +
                "  \"id\": \"c207a201-3c1b-47db-b6b7-92725108f96a\",//非空\n" +
                "  \"meta\": {//非空\n" +
                "    \"lastUpdated\": \"2020-04-21T13:34:13.684+08:00\"//非空\n" +
                "  },\n" +
                "  \"type\": \"searchset\",//非空\n" +
                "  \"total\": 1, //非空\n" +
                "  \"link\": [\n" +
                "    {\n" +
                "      \"relation\": \"self\",//非空\n" +
                "      \"url\": \"http://localhost:8114/LabReportPoint/fhir/DiagnosticReport?documentTypeCode=C0007-1&reportNo=1234567\"//非空\n" +
                "    }\n" +
                "  ],\n" +
                "  \"entry\": [//非空\n" +
                "    {\n" +
                "      \"fullUrl\": \"http://localhost:8114/LabReportPoint/fhir/DiagnosticReport/C0007-1:1234567\",//非空\n" +
                "      \"resource\": {\n" +
                "        \"resourceType\": \"DiagnosticReport\",//非空\n" +
                "        \"id\": \"C0007-1:1234567\",//非空\n" +
                "        \"meta\": {\n" +
                "          \"id\": \"commonLabReport\",//非空\n" +
                "          \"profile\": [\n" +
                "            \"http://neusoft.com/nhip/StructureDefinition/CommonLabReport\"//非空\n" +
                "          ]\n" +
                "        },\n" +
                "        \"text\": {\n" +
                "          \"status\": \"generated\"//非空\n" +
                "        },\n" +
                "        \"contained\": [\n" +
                "          {\n" +
                "            \"resourceType\": \"Specimen\",//非空\n" +
                "            \"id\": \"specimen\",//非空\n" +
                "            \"identifier\": [\n" +
                "              {\n" +
                "                \"system\": \"Naming/Specimen/barNo\", // 标识样本条码号，固定值\n" +
                "                \"value\": \"1000217832\" // 条码号、非空\n" +
                "              },\n" +
                "              {\n" +
                "                \"system\": \"Naming/Specimen/sampleNo\", //标识样本号 固定值 一个仪器每天做的样本的顺序号\n" +
                "                \"value\": \"5019\" // 样本号\n" +
                "              }\n" +
                "            ],\n" +
                "\t\t    \"extension\":[\n" +
                "\t\t\t  {\n" +
                "\t\t\t     \"url\": \"Naming/Specimen/specimenStateDescription\", // 标识标本状态，固定值\n" +
                "\t\t\t     \"valueString\": \"标本状态\" // 标本状态，对受检标本状态的描述\n" +
                "\t\t\t  }\n" +
                "\t\t    ],\n" +
                "            \"type\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Specimen/specimenType\", // 标识样本类型字典码，固定值  HIP061\n" +
                "                  \"code\": \"02\", // 样本类型编码\n" +
                "                  \"display\": \"全血\" // 样本类型名称\n" +
                "                },\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Specimen/specimenStatus\", // 标识样本状态字典码，固定值  HIP122\n" +
                "                  \"code\": \"01\", // 样本状态编码\n" +
                "                  \"display\": \"正常\" // 样本状态名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"receivedTime\": \"2011-03-04T11:45:33\", // 样本接收时间\n" +
                "            \"collection\": {\n" +
                "              \"collector\": {\n" +
                "                \"extension\": [\n" +
                "                  {\n" +
                "                    \"url\": \"Naming/Specimen/collector\",\t// 标识样本采集者，固定值\n" +
                "                    \"valueCoding\": {\n" +
                "                      \"code\": \"012010\", // 样本采集者编码\n" +
                "                      \"display\": \"刘小静\" // 样本采集者姓名\n" +
                "                    }\n" +
                "                  }\n" +
                "                ]\n" +
                "              },\n" +
                "              \"collectedDateTime\": \"2011-05-30T06:15:00\", // 样本采集时间\n" +
                "              \"bodySite\": {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Specimen/bodySite\", // 标识样本采集部位，固定值 HIP066\n" +
                "                    \"code\": \"10\", // 样本采集部位编码\n" +
                "                    \"display\": \"上肢\" // 样本采集部位名称\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            },\n" +
                "            \"processing\": [\n" +
                "              {\n" +
                "                \"procedure\": {\n" +
                "                  \"coding\": [\n" +
                "                    {\n" +
                "                      \"system\": \"CodeSystem/Specimen/testMethod\", // 标识检验方法字典，固定值  HIP028\n" +
                "                      \"code\": \"52\", // 标识检验方法编码\n" +
                "                      \"display\": \"化学发光法\" // 标识检验方法名称\n" +
                "                    }\n" +
                "                  ],\n" +
                "                  \"text\": \"检验类别\" // 标识检验类别，检验项目所属的类别详细描述\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          },\n" +
                "          {\n" +
                "            \"resourceType\": \"Observation\",//非空\n" +
                "            \"id\": \"PCT\",//非空\n" +
                "            \"status\": \"final\",//非空\n" +
                "            \"code\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/detailItem\", // 标识测试明细项代码表，固定值 HIP032、非空\n" +
                "                  \"code\": \"PCT\", // 测试明细项编码、非空\n" +
                "                  \"display\": \"血小板压积\" // 测试明细项名称、非空\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"effectiveDateTime\": \"2011-03-04T11:45:35\", // 结果时间，仪器发出的时间\n" +
                "            \"valueQuantity\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Observation/result\", // 标识检验结果 固定值、非空\n" +
                "                  \"valueString\": \"未检出阴性双球菌\" // 检验结果，汉字或数值、非空\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"CodeSystem/Observation/resultCode\", // 标识检验结果代码表 固定值  DE04.30.017.00，1 正常，2异常，3不确定、非空\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1\", // 检验结果代码、非空\n" +
                "                    \"display\": \"正常\" // 检验结果名称、非空\n" +
                "                  }\n" +
                "                }\n" +
                "              ],\n" +
                "              \"unit\": \"%\" // 单位\n" +
                "            },\n" +
                "            \"referenceRange\": [\n" +
                "              {\n" +
                "                \"low\": {\n" +
                "                  \"value\": 0.17, // 低值、参考范围的下限值\n" +
                "                  \"unit\": \"%\" // 单位\n" +
                "                },\n" +
                "                \"high\": {\n" +
                "                  \"value\": 0.35, // 高值、参考范围的上限值\n" +
                "                  \"unit\": \"%\" // 单位\n" +
                "                },\n" +
                "                \"text\": \"0.17--0.35\" // 参考范围的文本表示\n" +
                "              }\n" +
                "            ],\n" +
                "            \"component\": [\n" +
                "              {\n" +
                "                \"valueQuantity\": {\n" +
                "                  \"extension\": [\n" +
                "                    {\n" +
                "                      \"url\": \"Naming/Observation/scoValue\", // 标识S/CO值 固定值\n" +
                "                      \"valueString\": \"0.23\" // S/CO值，汉字或数值\n" +
                "                    }\n" +
                "                  ],\n" +
                "                  \"unit\": \"%\" // 单位\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"valueQuantity\": {\n" +
                "                  \"extension\": [\n" +
                "                    {\n" +
                "                      \"url\": \"Naming/Observation/odValue\", // 标识od 值 固定值\n" +
                "                      \"valueString\": \"0.23\" // od 值，汉字或数值\n" +
                "                    }\n" +
                "                  ],\n" +
                "                  \"unit\": \"%\" // 单位\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"valueQuantity\": {\n" +
                "                  \"extension\": [\n" +
                "                    {\n" +
                "                      \"url\": \"Naming/Observation/cutoffValue\", // 标识cutoff 值 固定值\n" +
                "                      \"valueString\": \"0.23\" // cutoff 值，汉字或数值\n" +
                "                    }\n" +
                "                  ],\n" +
                "                  \"unit\": \"%\" // 单位\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          },\n" +
                "          {\n" +
                "            \"resourceType\": \"Observation\",//非空\n" +
                "            \"id\": \"MCH\",\n" +
                "            \"status\": \"final\",//非空\n" +
                "            \"code\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/detailItem\", // 标识检验明细项代码表，固定值 HIP032\n" +
                "                  \"code\": \"MCH\", // 测试明细项编码\n" +
                "                  \"display\": \"平均血红蛋白含量\" // 测试明细项名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"effectiveDateTime\": \"2011-03-04T11:45:35\", // 结果时间，仪器发出的时间\n" +
                "            \"valueQuantity\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Observation/result\", // 标识检验结果 固定值\n" +
                "                  \"valueString\": \"未检出阴性双球菌\" // 检验结果，汉字或数值\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"CodeSystem/Observation/resultCode\", // 标识检验结果代码表 固定值  DE04.30.017.00，1 正常，2异常，3不确定\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1\", // 检验结果代码\n" +
                "                    \"display\": \"正常\" // 检验结果名称\n" +
                "                  }\n" +
                "                }\n" +
                "              ],\n" +
                "              \"unit\": \"pg\" // 单位\n" +
                "            },\n" +
                "            \"referenceRange\": [\n" +
                "              {\n" +
                "                \"low\": {\n" +
                "                  \"value\": 26, // 低值、参考范围的下限值\n" +
                "                  \"unit\": \"pg\" // 单位\n" +
                "                },\n" +
                "                \"high\": {\n" +
                "                  \"value\": 34, // 高值、参考范围的上限值\n" +
                "                  \"unit\": \"pg\" // 单位\n" +
                "                },\n" +
                "                \"text\": \"26--34\" // 参考范围的文本表示\n" +
                "              }\n" +
                "            ],\n" +
                "            \"component\": [\n" +
                "              {\n" +
                "                \"valueQuantity\": {\n" +
                "                  \"extension\": [\n" +
                "                    {\n" +
                "                      \"url\": \"Naming/Observation/scoValue\", // 标识S/CO值 固定值\n" +
                "                      \"valueString\": \"0.23\" // S/CO值，汉字或数值\n" +
                "                    }\n" +
                "                  ],\n" +
                "                  \"unit\": \"pg\" // 单位\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"valueQuantity\": {\n" +
                "                  \"extension\": [\n" +
                "                    {\n" +
                "                      \"url\": \"Naming/Observation/odValue\", // 标识od 值 固定值\n" +
                "                      \"valueString\": \"0.23\" // od 值，汉字或数值\n" +
                "                    }\n" +
                "                  ],\n" +
                "                  \"unit\": \"pg\" // 单位\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"valueQuantity\": {\n" +
                "                  \"extension\": [\n" +
                "                    {\n" +
                "                      \"url\": \"Naming/Observation/cutoffValue\", // 标识cutoff 值 固定值\n" +
                "                      \"valueString\": \"0.23\" // cutoff 值，汉字或数值\n" +
                "                    }\n" +
                "                  ],\n" +
                "                  \"unit\": \"%\" // 单位\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"extension\": [\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/CommonLabReport/reportStatus\", // 标识报告状态编码，固定值 HIP111\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"1\", // 报告状态代码\n" +
                "              \"display\": \"报告完成\" // 报告状态名称\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/CommonLabReport/printStatus\", // 标识报告是否打印，固定值 HIP003\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"1\", // 是否打印，0否 1是\n" +
                "              \"display\": \"是\" // 是否打印，0否 1是\n" +
                "            }\n" +
                "          },\n" +
                "\t\t  {\n" +
                "\t\t\t\"url\": \"Naming/CommonLabReport/labCategoryDescription\", // 标识检验类别，固定值\n" +
                "\t\t\t\"valueString\": \"检验类别\" // 检验类别，患者检验项目所属的类别详细描述\n" +
                "\t\t  },\n" +
                "\t\t  {\n" +
                "\t\t\t\"url\": \"Naming/CommonLabReport/labReportResultDescription\", // 标识检验报告结果，固定值\n" +
                "\t\t\t\"valueString\": \"检验报告结果\" // 检验报告结果，检验项目结果报告的客观说明\n" +
                "\t\t  }\n" +
                "        ],\n" +
                "        \"identifier\": [\n" +
                "          {\n" +
                "            \"system\": \"Naming/CommonLabReport/reportNo\", // 标识报告编号 固定值，报告唯一编号，不能使用^符号\n" +
                "            \"value\": \"1234567\" // 报告编号，报告唯一编号\n" +
                "          }\n" +
                "        ],\n" +
                "        \"basedOn\": [\n" +
                "          {\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/CommonLabReport/requestNo\", // 标识对应的申请单编号 固定值\n" +
                "                \"valueString\": \"984375486\" // 申请单编号，如果一个报告对应多个申请单编号，则使用^分开，例如 22549225^22548811^22548565\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/CommonLabReport/requestType\", // 标识申请单类型字典码,固定值  HIP059\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"05\", // 申请单类型编码\n" +
                "                  \"display\": \"检验申请单\" // 申请单类型名称\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/CommonLabReport/orderTime\", // 标识申请单开立时间,固定值\n" +
                "                \"valueDate\": \"2011-03-04T08:30:00\" // 申请单开立时间\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/CommonLabReport/requestDept\", // 标识检验申请科室，固定值\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"093443875\", // 检验申请科室编码\n" +
                "                  \"display\": \"内科门诊\" // 检验申请科室名称\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/CommonLabReport/requestDoctor\", // 标识检验申请医生，固定值\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"011932\", // 检验申请医生编码\n" +
                "                  \"display\": \"杨建霞\" // 检验申请医生姓名\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"status\": \"final\",//非空\n" +
                "        \"category\": {\n" +
                "          \"coding\": [\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/CommonLabReport/orderItem\", // 标识项目字典码，固定值  HIP014\n" +
                "              \"code\": \"F004023611\", // 项目编码\n" +
                "              \"display\": \"C-反应蛋白(CRP)\" // 项目名称\n" +
                "            },\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/CommonLabReport/orderItem\", // 标识项目字典码，固定值  HIP014\n" +
                "              \"code\": \"F004023610\", // 项目编码\n" +
                "              \"display\": \"血常规\" // 项目名称\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"code\": {\n" +
                "          \"coding\": [\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/CommonLabReport/documentType\", // 标识文档类型字典码，固定值  HIP019\n" +
                "              \"code\": \"C0007-1\", // 报告类型编码\n" +
                "              \"display\": \"常规检验报告\" // 报告类型名称\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"subject\": {\n" +
                "          \"extension\": [\n" +
                "            {\n" +
                "              \"url\": \"Naming/CommonLabReport/patientName\", // 患者姓名 固定\n" +
                "              \"valueString\": \"刘思延\" // 患者姓名\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"CodeSystem/CommonLabReport/gender\", // 性别 固定 GB/T 2261.1-2003\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"1\", // 患者性别代码\n" +
                "                \"display\": \"男\" // 患者性别名称\n" +
                "              }\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/CommonLabReport/age\", // 年龄 固定\n" +
                "              \"valueString\": \"12\" // 年龄\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/CommonLabReport/birthDate\", // 出生日期 固定\n" +
                "              \"valueDate\": \"2015-01-16\" // 出生日期\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/CommonLabReport/bedNo\", // 床号 固定\n" +
                "              \"valueString\": \"16\" // 床号\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"context\": {\n" +
                "          \"extension\": [\n" +
                "            {\n" +
                "              \"url\": \"Naming/CommonLabReport/visitNo\", // 标识此字段是诊疗号，固定值\n" +
                "              \"valueString\": \"0012986\" // 诊疗号\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"CodeSystem/CommonLabReport/visitType\", // 标识此字段是诊疗类型字典，固定值 HIP001\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"01\", // 诊疗类型编码\n" +
                "                \"display\": \"门诊\" // 诊疗类型名称\n" +
                "              }\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/CommonLabReport/visitSqNo\", // 标识对应的就诊流水号 固定值\n" +
                "              \"valueString\": \"984375486\" // 就诊流水号\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/CommonLabReport/ward\", // 标识此字段是病区，固定值\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"206A\", // 病区编码\n" +
                "                \"display\": \"206A病区(普外科)\" // 病区名称\n" +
                "              }\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"effectiveDateTime\": \"2011-03-04T11:45:35\", // 报告审核时间\n" +
                "        \"issued\": \"2011-03-04T11:45:33\", // 报告书写时间，报告日期\n" +
                "        \"performer\": [\n" +
                "          {\n" +
                "            \"actor\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/CommonLabReport/reportWriterDoctor\", // 标识对应的报告书写者，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"105932\", // 报告书写者编码\n" +
                "                    \"display\": \"陈守东\" // 报告书写者姓名\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/CommonLabReport/reportWriterDept\", // 标识对应的报告书写科室，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1086\", // 报告书写科室编码\n" +
                "                    \"display\": \"医学检验科\" // 报告书写科室名称\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/CommonLabReport/reportReviewDoctor\", // 标识对应的报告审核者，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"108621\", // 报告审核者编码\n" +
                "                    \"display\": \"王瑞珠\" //报告审核者姓名\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/CommonLabReport/reportReviewDept\", // 标识对应的报告审核者科室，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1086\", // 报告审核科室编码\n" +
                "                    \"display\": \"医学检验科\" // 报告审核科室名称\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/CommonLabReport/testTechnician\", // 标识对应的检验技师，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"093248376\", // 检验技师编码\n" +
                "                    \"display\": \"吴秋阳\" //检验技师姓名\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/CommonLabReport/testPhysician\", // 标识对应的检验医师，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1008716\", // 检验医师编码\n" +
                "                    \"display\": \"何敏舒\" // 检验医师姓名\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/CommonLabReport/comment\", // 标识检验报告备注\n" +
                "                  \"valueString\": \"检验报告备注\" // 检验报告备注\n" +
                "                }\n" +
                "              ]\n" +
                "            }\n" +
                "          }\n" +
                "        ],\n" +
                "        \"specimen\": [\n" +
                "          {\n" +
                "            \"reference\": \"#specimen\" // 标本信息 非空 除#外与resourceType:Specimen中id值相同\n" +
                "          }\n" +
                "        ],\n" +
                "        \"result\": [\n" +
                "          {\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/CommonLabReport/printOrder\", // 标识打印顺序 固定值\n" +
                "                \"valueString\": \"1\" // 打印顺序\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/CommonLabReport/orderItem\", // 标识检验项目字典，固定值 HIP014\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"F004023610\", // 检验项目编码\n" +
                "                  \"display\": \"[组套]血常规\" // 检验项目名称\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/CommonLabReport/resultNature\", // 标识短报告中的定性定量 标识  Quan定量 Qual定性 QuanPlusQual\t定量+定性\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"Quan\", // 定量结果标识编码\n" +
                "                  \"display\": \"定量\" // 定量结果标识名称\n" +
                "                }\n" +
                "              }\n" +
                "            ],\n" +
                "            \"reference\": \"#PCT\" // 检验结果明细 除#外与resourceType:Observation中id值相同\n" +
                "          },\n" +
                "          {\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/CommonLabReport/printOrder\", // 标识打印顺序 固定值\n" +
                "                \"valueString\": \"2\" // 打印顺序\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/CommonLabReport/orderItem\", // 标识检验项目字典，固定值 HIP014\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"F004023610\", // 检验项目编码\n" +
                "                  \"display\": \"[组套]血常规\" // 检验项目名称\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/CommonLabReport/resultNature\", // 标识短报告中的定性定量 标识  Quan定量 Qual定性 QuanPlusQual\t定量+定性\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"Quan\", // 定量结果标识编码\n" +
                "                  \"display\": \"定量\" // 定量结果标识名称\n" +
                "                }\n" +
                "              }\n" +
                "            ],\n" +
                "            \"reference\": \"#MCH\" // 检验结果明细 除#外与resourceType:Observation中id值相同\n" +
                "          }\n" +
                "        ],\n" +
                "        \"conclusion\": \"急性上呼吸道感染\", // 临床解释测试结果\n" +
                "        \"codedDiagnosis\": [\n" +
                "          {\n" +
                "            \"coding\": [\n" +
                "              {\n" +
                "                \"extension\": [\n" +
                "                  {\n" +
                "                    \"url\": \"Naming/CommonLabReport/diagnoseTime\", // 标识诊断时间\n" +
                "                    \"valueDateTime\": \"2011-03-04T11:45:35\" // 诊断时间\n" +
                "                  }\n" +
                "                ],\n" +
                "                \"system\": \"CodeSystem/CommonLabReport/diagnose\", // 标识 诊断字典，固定值 HIP047\n" +
                "                \"code\": \"A09.002\", // 诊断编码\n" +
                "                \"display\": \"感染性结肠炎\" // 诊断名称\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"presentedForm\": [\n" +
                "          {\n" +
                "            \"id\": \"file\",\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/CommonLabReport/attachmentType\", // 标识附件类型字典，固定值 HIP079\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"0\", // 附件类型编码  0 PDF,1 JPG\n" +
                "                  \"display\": \"PDF\" // 附件类型名称\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          },\n" +
                "          {\n" +
                "            \"id\": \"url\",\n" +
                "            \"url\": \"http://192.168.225.173/group1/M00/00/00/wKhLgl6awPuARqrBAAAAC6cvy0g2407066\" // 源地址 url，业务系统中访问此报告的url地址\n" +
                "          }\n" +
                "        ]\n" +
                "      }\n" +
                "    }\n" +
                "  ]\n" +
                "}";
        /*String str ="{\n" +
                "  \"resourceType\": \"Bundle\",//非空\n" +
                "  \"id\": \"ca2bfe08-f0b3-4758-9b3d-ada9760d0399\",//非空\n" +
                "  \"meta\": {\n" +
                "    \"lastUpdated\": \"2020-04-21T13:34:11.297+08:00\"\n" +
                "  },\n" +
                "  \"type\": \"searchset\",\n" +
                "  \"total\": 1,\n" +
                "  \"link\": [\n" +
                "    {\n" +
                "      \"relation\": \"self\",\n" +
                "      \"url\": \"http://localhost:8114/LabReportPoint/fhir/DiagnosticReport?documentTypeCode=C0007-2&reportNo=93483977F\"\n" +
                "    }\n" +
                "  ],\n" +
                "  \"entry\": [\n" +
                "    {\n" +
                "      \"fullUrl\": \"http://localhost:8114/LabReportPoint/fhir/DiagnosticReport/C0007-2:93483977F\",\n" +
                "      \"resource\": {\n" +
                "        \"resourceType\": \"DiagnosticReport\",//非空\n" +
                "        \"id\": \"C0007-2:93483977F\",//非空\n" +
                "        \"meta\": {\n" +
                "          \"id\": \"microbiologicalLabReport\",//非空\n" +
                "          \"profile\": [\n" +
                "            \"http://neusoft.com/nhip/StructureDefinition/MicrobiologicalLabReport\"\n" +
                "          ]\n" +
                "        },\n" +
                "        \"text\": {\n" +
                "          \"status\": \"generated\"//非空\n" +
                "        },\n" +
                "        \"contained\": [\n" +
                "          {\n" +
                "            \"resourceType\": \"Specimen\",//非空\n" +
                "            \"id\": \"specimen\",//非空\n" +
                "            \"identifier\": [\n" +
                "              {\n" +
                "                \"system\": \"Naming/Specimen/barNo\", // 标识样本条码号，固定值\n" +
                "                \"value\": \"30984\" // 条码号\n" +
                "              },\n" +
                "              {\n" +
                "                \"system\": \"Naming/Specimen/sampleNo\", //标识样本号 固定值 一个仪器每天做的样本的顺序号\n" +
                "                \"value\": \"5019\" // 样本号\n" +
                "              }\n" +
                "            ],\n" +
                "\t\t    \"extension\":[\n" +
                "\t\t\t  {\n" +
                "\t\t\t    \"url\": \"Naming/Specimen/specimenStateDescription\", // 标识标本状态，固定值\n" +
                "\t\t\t    \"valueString\": \"标本状态\" // 标本状态，对受检标本状态的描述\n" +
                "\t\t\t  }\n" +
                "\t\t    ],\n" +
                "            \"type\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Specimen/specimenType\", // 标识样本类型字典码，固定值  HIP061\n" +
                "                  \"code\": \"02\", // 样本类型编码\n" +
                "                  \"display\": \"全血\" // 样本类型名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"receivedTime\": \"2011-03-04T11:45:33\", // 样本接收时间\n" +
                "            \"collection\": {\n" +
                "              \"collector\": {\n" +
                "                \"extension\": [\n" +
                "                  {\n" +
                "                    \"url\": \"Naming/Specimen/collector\", // 标识样本采集者，固定值\n" +
                "                    \"valueCoding\": {\n" +
                "                      \"code\": \"012010\", // 样本采集者编码\n" +
                "                      \"display\": \"刘小静\" // 样本采集者姓名\n" +
                "                    }\n" +
                "                  }\n" +
                "                ]\n" +
                "              },\n" +
                "              \"collectedDateTime\": \"2011-05-30T06:15:00\", // 样本采集时间\n" +
                "              \"bodySite\": {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Specimen/bodySite\", // 标识样本采集部位，固定值 HIP066\n" +
                "                    \"code\": \"10\", // 采集部位编码\n" +
                "                    \"display\": \"上肢\" // 采集部位名称\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"resourceType\": \"Observation\",//非空\n" +
                "            \"id\": \"0985762\",\n" +
                "            \"status\": \"final\",//非空\n" +
                "            \"code\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/detailItem\", // 标识测试明细项代码表，固定值 HIP032\n" +
                "                  \"code\": \"PCT\", // 测试明细项编码\n" +
                "                  \"display\": \"血小板压积\" // 测试明细项名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"effectiveDateTime\": \"2011-03-04T11:45:35\", // 结果时间，仪器发出的时间\n" +
                "            \"valueQuantity\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Observation/result\", // 标识检验结果 固定值\n" +
                "                  \"valueString\": \"未检出阴性双球菌\" // 检验结果，汉字或数值\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"CodeSystem/Observation/resultCode\", // 标识检验结果代码表 固定值  DE04.30.017.00，1 正常，2异常，3不确定\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1\", // 检验结果代码\n" +
                "                    \"display\": \"正常\" // 检验结果名称\n" +
                "                  }\n" +
                "                }\n" +
                "              ],\n" +
                "              \"unit\": \"%\" // 单位\n" +
                "            },\n" +
                "            \"referenceRange\": [\n" +
                "              {\n" +
                "                \"low\": {\n" +
                "                  \"value\": 0.17, // 低值、参考范围的下限值\n" +
                "                  \"unit\": \"%\" // 单位\n" +
                "                },\n" +
                "                \"high\": {\n" +
                "                  \"value\": 0.35, // 高值、参考范围的上限值\n" +
                "                  \"unit\": \"%\" // 单位\n" +
                "                },\n" +
                "                \"text\": \"0.17--0.35\" // 参考范围的文本表示\n" +
                "              }\n" +
                "            ]\n" +
                "          },\n" +
                "          {\n" +
                "            \"resourceType\": \"Observation\",//非空\n" +
                "            \"id\": \"39489357\",\n" +
                "            \"status\": \"final\",//非空\n" +
                "            \"code\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/detailItem\", // 标识检验明细项代码表，固定值 HIP032\n" +
                "                  \"code\": \"MCH\", // 测试明细项编码\n" +
                "                  \"display\": \"平均血红蛋白含量\" // 测试明细项名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"effectiveDateTime\": \"2011-03-04T11:45:35\", // 结果时间，仪器发出的时间\n" +
                "            \"valueQuantity\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Observation/result\", // 标识检验结果 固定值\n" +
                "                  \"valueString\": \"未检出阴性双球菌\" // 检验结果，汉字或数值\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"CodeSystem/Observation/resultCode\", // 标识检验结果代码表 固定值  DE04.30.017.00，1 正常，2异常，3不确定\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1\", // 检验结果代码\n" +
                "                    \"display\": \"正常\" // 检验结果名称\n" +
                "                  }\n" +
                "                }\n" +
                "              ],\n" +
                "              \"unit\": \"%\" // 单位\n" +
                "            },\n" +
                "            \"referenceRange\": [\n" +
                "              {\n" +
                "                \"low\": {\n" +
                "                  \"value\": 26, // 低值、参考范围的下限值\n" +
                "                  \"unit\": \"pg\" // 单位\n" +
                "                },\n" +
                "                \"high\": {\n" +
                "                  \"value\": 34, // 高值、参考范围的上限值\n" +
                "                  \"unit\": \"pg\" // 单位\n" +
                "                },\n" +
                "                \"text\": \"26--34\" // 参考范围的文本表示\n" +
                "              }\n" +
                "            ]\n" +
                "          },\n" +
                "          {\n" +
                "            \"resourceType\": \"Observation\",//非空\n" +
                "            \"id\": \"20018634\", // 唯一id\n" +
                "            \"status\": \"final\",//非空\n" +
                "            \"code\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/bacterialItem\", // 标识细菌编码，固定值\n" +
                "                  \"code\": \"strpne\", // 细菌编码\n" +
                "                  \"display\": \"肺炎链球菌\" // 细菌名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"valueQuantity\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Observation/result\", // 标识检验结果 固定值\n" +
                "                  \"valueString\": \"未检出阴性双球菌\" // 检验结果，汉字或数值\n" +
                "                }\n" +
                "              ],\n" +
                "              \"unit\": \"%\" // 单位\n" +
                "            },\n" +
                "            \"comment\": \"细菌生长较快\", // 评论\n" +
                "            \"method\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/method\", // 标识检测、发现 方法\n" +
                "                  \"code\": \"34\", // 方法编码\n" +
                "                  \"display\": \"MK\" // 方法名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"device\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Observation/bacterialItemDeviceId\", // 标识细菌鉴定检验设备编码\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"09328437\", // 细菌鉴定检验设备编码\n" +
                "                    \"display\": \"细菌鉴定检验设备名称\" // 细菌鉴定检验设备名称\n" +
                "                  }\n" +
                "                }\n" +
                "              ]\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"resourceType\": \"Observation\",//非空\n" +
                "            \"id\": \"39834876\", // 唯一id\n" +
                "            \"status\": \"final\",//非空\n" +
                "            \"code\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/bacterialItem\", // 标识细菌编码，固定值\n" +
                "                  \"code\": \"strpne\", // 细菌编码\n" +
                "                  \"display\": \"肺炎链球菌\" // 细菌名称\n" +
                "                },\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/antibiotics\", // 标识抗生素编码，固定值\n" +
                "                  \"code\": \"FEP\", // 抗生素编码\n" +
                "                  \"display\": \"头孢吡肟\" // 抗生素名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"method\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Observation/method\", // 标识检测、发现 方法\n" +
                "                  \"code\": \"37\", // 方法编码\n" +
                "                  \"display\": \"M\" // 方法名称\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"device\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Observation/allergyItemDeviceId\", // 标识药敏检测设备\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"09328437\", // 细菌鉴定检验设备编码\n" +
                "                    \"display\": \"细菌鉴定检验设备名称\" // 细菌鉴定检验设备名称\n" +
                "                  }\n" +
                "                }\n" +
                "              ]\n" +
                "            }\n" +
                "          }\n" +
                "        ],\n" +
                "        \"extension\": [\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/MicrobiologicalLabReport/reportStatus\", // 标识报告状态编码，固定值 HIP111\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"1\", // 报告状态代码\n" +
                "              \"display\": \"报告完成\" // 报告状态名称\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/MicrobiologicalLabReport/printStatus\", // 标识报告是否打印，固定值 HIP003\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"1\", // 是否打印，0否 1是\n" +
                "              \"display\": \"是\" // 是否打印，0否 1是\n" +
                "            }\n" +
                "          },\n" +
                "\t\t  {\n" +
                "\t\t\t  \"url\": \"Naming/MicrobiologicalLabReport/labCategoryDescription\", // 标识检验类别，固定值\n" +
                "\t\t\t  \"valueString\": \"检验类别\" // 检验类别，患者检验项目所属的类别详细描述\n" +
                "\t\t  },\n" +
                "\t\t  {\n" +
                "\t\t\t  \"url\": \"Naming/MicrobiologicalLabReport/labReportResultDescription\", // 标识检验报告结果，固定值\n" +
                "\t\t\t  \"valueString\": \"检验报告结果\" // 检验报告结果，检验项目结果报告的客观说明\n" +
                "\t\t  }\n" +
                "        ],\n" +
                "        \"identifier\": [\n" +
                "          {\n" +
                "            \"system\": \"Naming/MicrobiologicalLabReport/reportNo\", // 标识报告号 固定值，报告唯一编号\n" +
                "            \"value\": \"93483977F\" // 报告号，报告唯一编号\n" +
                "          }\n" +
                "        ],\n" +
                "        \"basedOn\": [\n" +
                "          {\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/requestNo\", // 标识对应的申请单编号 固定值\n" +
                "                \"valueString\": \"984375486\" // 申请单编号\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/MicrobiologicalLabReport/requestType\", // 标识申请单类型字典码,固定值  HIP059\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"05\", // 申请单类型编码\n" +
                "                  \"display\": \"检验申请单\" // 申请单类型名称\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/orderTime\", // 标识申请单开立时间,固定值\n" +
                "                \"valueDate\": \"2011-03-04T08:30:00\" // 申请单开立时间\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/requestDept\", //标识检验申请科室，固定值\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"093443875\", // 检验申请科室编码\n" +
                "                  \"display\": \"内科门诊\" // 检验申请科室名称\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/requestDoctor\", // 标识检验申请医生，固定值\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"011932\", // 检验申请医生编码\n" +
                "                  \"display\": \"杨建霞\" // 检验申请医生姓名\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"status\": \"final\",//非空\n" +
                "        \"category\": {\n" +
                "          \"coding\": [\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/MicrobiologicalLabReport/orderItem\", // 标识项目字典码，固定值 HIP014\n" +
                "              \"code\": \"F004023611\", // 项目编码\n" +
                "              \"display\": \"C-反应蛋白(CRP)\" // 项目名称\n" +
                "            },\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/MicrobiologicalLabReport/orderItem\", // 标识项目字典码，固定值 HIP014\n" +
                "              \"code\": \"F004023610\", // 项目编码\n" +
                "              \"display\": \"血常规\" // 项目名称\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"code\": {\n" +
                "          \"coding\": [\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/MicrobiologicalLabReport/documentType\", // 标识文档类型字典码，固定值 HIP019\n" +
                "              \"code\": \"C0007-2\", // 文档类型（报告类型）编码\n" +
                "              \"display\": \"微生物检验报告\" // 文档类型（报告类型）名称\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"subject\": {\n" +
                "          \"extension\": [\n" +
                "            {\n" +
                "              \"url\": \"Naming/MicrobiologicalLabReport/patientName\", // 患者姓名 固定\n" +
                "              \"valueString\": \"刘思延\" // 患者姓名\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"CodeSystem/MicrobiologicalLabReport/gender\", // 性别 固定 GB/T 2261.1-2003\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"1\", // 患者性别代码\n" +
                "                \"display\": \"男\" // 患者性别名称\n" +
                "              }\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/MicrobiologicalLabReport/age\", // 年龄 固定\n" +
                "              \"valueString\": \"12\" // 年龄\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/MicrobiologicalLabReport/birthDate\", // 出生日期 固定\n" +
                "              \"valueDate\": \"2015-01-16\" // 出生日期\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/MicrobiologicalLabReport/bedNo\", // 床号 固定\n" +
                "              \"valueString\": \"16\" // 床号\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"context\": {\n" +
                "          \"extension\": [\n" +
                "            {\n" +
                "              \"url\": \"Naming/MicrobiologicalLabReport/visitNo\", // 标识此字段是诊疗号，固定值\n" +
                "              \"valueString\": \"0012986\" // 诊疗号\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"CodeSystem/MicrobiologicalLabReport/visitType\", // 标识此字段是诊疗类型字典，固定值 HIP001\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"01\", // 诊疗类型编码\n" +
                "                \"display\": \"门诊\" // 诊疗类型名称\n" +
                "              }\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/MicrobiologicalLabReport/visitSqNo\", // 标识对应的就诊流水号 固定值\n" +
                "              \"valueString\": \"984375486\" // 就诊流水号\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/MicrobiologicalLabReport/ward\", // 标识此字段是病区，固定值\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"206A\", // 病区编码\n" +
                "                \"display\": \"206A病区(普外科)\" // 病区名称\n" +
                "              }\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"effectiveDateTime\": \"2011-03-04T11:45:35\", // 报告审核时间\n" +
                "        \"issued\": \"2011-03-04T11:45:33\", // 报告书写时间，报告日期\n" +
                "        \"performer\": [\n" +
                "          {\n" +
                "            \"actor\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/MicrobiologicalLabReport/reportWriterDoctor\", // 标识对应的报告书写者，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"012010\", // 报告书写者编码\n" +
                "                    \"display\": \"刘小静\" // 报告书写者姓名\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/MicrobiologicalLabReport/reportWriterDept\", // 标识对应的报告书写科室，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"3010\", // 报告书写科室编码\n" +
                "                    \"display\": \"检验科\" // 报告书写科室名称\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/MicrobiologicalLabReport/reportReviewDoctor\", // 标识对应的报告审核者，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"011102\", // 报告审核者编码\n" +
                "                    \"display\": \"王瑞珠\" // 报告审核者姓名\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/MicrobiologicalLabReport/reportReviewDept\", // 标识对应的报告审核者科室，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"3010\", // 报告审核科室编码\n" +
                "                    \"display\": \"检验科\" // 报告审核科室名称\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/MicrobiologicalLabReport/testTechnician\", // 标识对应的检验技师，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"093248376\", // 检验技师编码\n" +
                "                    \"display\": \"吴秋阳\" // 检验技师姓名\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/MicrobiologicalLabReport/testPhysician\", // 标识对应的检验医师，固定值\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1008716\", // 检验医师编码\n" +
                "                    \"display\": \"何敏舒\" // 检验医师姓名\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/MicrobiologicalLabReport/comment\", // 标识检验报告备注\n" +
                "                  \"valueString\": \"检验报告备注\" // 检验报告备注\n" +
                "                }\n" +
                "              ]\n" +
                "            }\n" +
                "          }\n" +
                "        ],\n" +
                "        \"specimen\": [\n" +
                "          {\n" +
                "            \"reference\": \"#specimen\" // 标本信息 非空 除#外与resourceType:Specimen中id值相同\n" +
                "          }\n" +
                "        ],\n" +
                "        \"result\": [\n" +
                "          {\n" +
                "            \"id\": \"detailItem\",\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/printOrder\", // 标识打印顺序 固定值\n" +
                "                \"valueString\": \"1\" // 打印顺序\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/MicrobiologicalLabReport/orderItem\", // 标识检验项目字典，固定值 HIP014\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"F004023610\", // 检验项目编码\n" +
                "                  \"display\": \"[组套]血常规\" // 检验项目名称\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/MicrobiologicalLabReport/resultNature\", // 标识药敏结果的定性、定量 结果，Quan定量 Qual定性 QuanPlusQual\t定量+定性\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"Qual\", // 定量结果标识编码\n" +
                "                  \"display\": \"定性\" // 定量结果标识名称\n" +
                "                }\n" +
                "              }\n" +
                "            ],\n" +
                "            \"reference\": \"#0985762\" // 除#外与上方中其中一个Observation资源的id同\n" +
                "          },\n" +
                "          {\n" +
                "            \"id\": \"detailItem\",\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/printOrder\", // 标识打印顺序 固定值\n" +
                "                \"valueString\": \"2\" // 打印顺序\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/MicrobiologicalLabReport/orderItem\", // 标识检验项目字典，固定值 HIP014\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"F004023610\", // 检验项目编码\n" +
                "                  \"display\": \"[组套]血常规\" // 检验项目名称\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/MicrobiologicalLabReport/resultNature\", // 标识药敏结果的定性、定量 结果，Quan定量 Qual定性 QuanPlusQual\t定量+定性\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"Qual\", // 定量结果标识编码\n" +
                "                  \"display\": \"定性\" // 定量结果标识名称\n" +
                "                }\n" +
                "              }\n" +
                "            ],\n" +
                "            \"reference\": \"#39489357\" // 除#外与上方中其中一个Observation资源的id同\n" +
                "          },\n" +
                "          {\n" +
                "            \"id\": \"bacterialItem\",\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/growth\", // 标识生长状况\n" +
                "                \"valueString\": \"生长状况\" // 生长状况\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/drugResistantFeature\", // 标识耐药特性\n" +
                "                \"valueString\": \"耐药特性1\" // 耐药特性\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/drugResistantFeature\", // 标识耐药特性\n" +
                "                \"valueString\": \"耐药特性2\" // 耐药特性2\n" +
                "              }\n" +
                "            ],\n" +
                "            \"reference\": \"#20018634\" // 除#外与上方中其中一个Observation资源的id同\n" +
                "          },\n" +
                "          {\n" +
                "            \"id\": \"allergyItem\",\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/drugSensitiveFoldPointS\", // 标识药敏折点(敏感)，固定值\n" +
                "                \"valueString\": \"药敏折点(敏感)\" // 药敏折点(敏感)\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/drugSensitiveFoldPointI\", // 标识药敏折点(中介)，固定值\n" +
                "                \"valueString\": \"药敏折点(中介)\" // 药敏折点(中介)\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/MicrobiologicalLabReport/drugSensitiveFoldPointR\", // 标识药敏折点(耐药)，固定值\n" +
                "                \"valueString\": \"药敏折点(耐药)\" // 药敏折点(耐药)\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/MicrobiologicalLabReport/allergyItemNature\", // 标识药敏结果的定性、定量 结果，Quan定量 Qual定性 QuanPlusQual\t定量+定性\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"Qual\", // 定量结果标识编码\n" +
                "                  \"display\": \"定性\" // 定量结果标识名称\n" +
                "                }\n" +
                "              }\n" +
                "            ],\n" +
                "            \"reference\": \"#39834876\" // 除#外与上方中其中一个Observation资源的id同\n" +
                "          }\n" +
                "        ],\n" +
                "        \"conclusion\": \"急性上呼吸道感染\", // 诊断\n" +
                "        \"codedDiagnosis\": [\n" +
                "          {\n" +
                "            \"coding\": [\n" +
                "              {\n" +
                "                \"extension\": [\n" +
                "                  {\n" +
                "                    \"url\": \"Naming/MicrobiologicalLabReport/diagnoseTime\", // 标识诊断时间\n" +
                "                    \"valueDateTime\": \"2011-03-04T11:45:35\" // 诊断时间\n" +
                "                  }\n" +
                "                ],\n" +
                "                \"system\": \"CodeSystem/MicrobiologicalLabReport/diagnose\", // 标识 诊断字典，固定值 HIP047\n" +
                "                \"code\": \"A09.002\", // 诊断编码\n" +
                "                \"display\": \"感染性结肠炎\" // 诊断名称\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"presentedForm\": [\n" +
                "          {\n" +
                "            \"id\": \"file\",\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/MicrobiologicalLabReport/attachmentType\", // 标识附件类型字典，固定值 HIP079\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"0\", // 附件类型编码  0 PDF,1 JPG\n" +
                "                  \"display\": \"PDF\" // 附件类型名称\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          },\n" +
                "          {\n" +
                "            \"id\": \"url\",\n" +
                "            \"url\": \"http://192.168.225.173/group1/M00/00/00/wKhLgl6a3jSAYodRAAAAC6cvy0g6877465\" // 附件类型名称\n" +
                "          }\n" +
                "        ]\n" +
                "      }\n" +
                "    }\n" +
                "  ]\n" +
                "}";*/
        return str;
    }




    @RequestMapping(value = "/ceshiPac", produces= PRODUCE_UTF8_JSON)
    @ResponseBody
    public String ceshiPac(){
//        pacpacpacpac
        String str = "{\n" +
                "  \"resourceType\": \"Bundle\",\n" +
                "  \"id\": \"a25609d3-0cb3-47a2-bfd9-0159cfbb782f\",\n" +
                "  \"meta\": {\n" +
                "    \"lastUpdated\": \"2020-08-07T09:12:24.507+08:00\"\n" +
                "  },\n" +
                "  \"type\": \"searchset\",\n" +
                "  \"total\": 1,\n" +
                "  \"link\": [\n" +
                "    {\n" +
                "      \"relation\": \"self\",\n" +
                "      \"url\": \"http://examreportpoint/ExamReportPoint/fhir/DiagnosticReport?documentTypeCode=C0006-3&visitSqNo=13279972\"\n" +
                "    }\n" +
                "  ],\n" +
                "  \"entry\": [\n" +
                "    {\n" +
                "      \"fullUrl\": \"http://examreportpoint/ExamReportPoint/fhir/DiagnosticReport/C0006-3:202001210595.1\",\n" +
                "      \"resource\": {\n" +
                "        \"resourceType\": \"DiagnosticReport\",\n" +
                "        \"id\": \"C0006-3:202001210595.1\",\n" +
                "        \"meta\": {\n" +
                "          \"id\": \"examinationReport\",\n" +
                "          \"profile\": [\n" +
                "            \"http://neusoft.com/nhip/StructureDefinition/ExaminationReport\"\n" +
                "          ]\n" +
                "        },\n" +
                "        \"text\": {\n" +
                "          \"status\": \"generated\"\n" +
                "        },\n" +
                "        \"contained\": [\n" +
                "          {\n" +
                "            \"resourceType\": \"Specimen\",\n" +
                "            \"id\": \"specimen\",\n" +
                "            \"identifier\": [\n" +
                "              {\n" +
                "                \"system\": \"Naming/Specimen/barNo\",\n" +
                "                \"value\": \"202001210595.1\"\n" +
                "              },\n" +
                "              {\n" +
                "                \"system\": \"Naming/Specimen/sampleNo\",\n" +
                "                \"value\": \"-\"\n" +
                "              }\n" +
                "            ],\n" +
                "            \"type\": {\n" +
                "              \"coding\": [\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Specimen/specimenType\",\n" +
                "                  \"code\": \"-\",\n" +
                "                  \"display\": \"-\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"system\": \"CodeSystem/Specimen/specimenStatus\",\n" +
                "                  \"code\": \"01\",\n" +
                "                  \"display\": \"正常\"\n" +
                "                }\n" +
                "              ]\n" +
                "            },\n" +
                "            \"receivedTime\": \"2020-01-21T13:26:54\",\n" +
                "            \"collection\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"CodeSystem/Specimen/operation\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"-\",\n" +
                "                    \"display\": \"-\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Specimen/operatingDescription\",\n" +
                "                  \"valueString\": \"无\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Specimen/intervenorName\",\n" +
                "                  \"valueString\": \"无\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Specimen/operationNumber\",\n" +
                "                  \"valueString\": \"1\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"CodeSystem/Specimen/anesthesiaWay\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"-\",\n" +
                "                    \"display\": \"-\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Specimen/anestheticDoctor\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"-\",\n" +
                "                    \"display\": \"-\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/Specimen/anesResult\",\n" +
                "                  \"valueString\": \"-\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"CodeSystem/Specimen/anesthesiaFlag\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"1\",\n" +
                "                    \"display\": \"西医麻醉\"\n" +
                "                  }\n" +
                "                }\n" +
                "              ],\n" +
                "              \"collectedDateTime\": \"2020-01-21T13:26:54\",\n" +
                "              \"bodySite\": {\n" +
                "                \"coding\": [\n" +
                "                  {\n" +
                "                    \"system\": \"CodeSystem/Specimen/bodySite\",\n" +
                "                    \"code\": \"18\",\n" +
                "                    \"display\": \"其他\"\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            },\n" +
                "            \"container\": [\n" +
                "              {\n" +
                "                \"additiveCodeableConcept\": {\n" +
                "                  \"text\": \"-\"\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          },\n" +
                "          {\n" +
                "            \"resourceType\": \"Observation\",\n" +
                "            \"id\": \"quanResult\",\n" +
                "            \"status\": \"final\",\n" +
                "            \"component\": [\n" +
                "              {\n" +
                "                \"valueQuantity\": {\n" +
                "                  \"extension\": [\n" +
                "                    {\n" +
                "                      \"url\": \"Naming/Observation/result\",\n" +
                "                      \"valueString\": \"0.00\"\n" +
                "                    }\n" +
                "                  ],\n" +
                "                  \"unit\": \"ml\"\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"extension\": [\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/ExaminationReport/reportStatus\",\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"1\",\n" +
                "              \"display\": \"报告完成\"\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"CodeSystem/ExaminationReport/printStatus\",\n" +
                "            \"valueCoding\": {\n" +
                "              \"code\": \"1\",\n" +
                "              \"display\": \"是\"\n" +
                "            }\n" +
                "          },\n" +
                "          {\n" +
                "            \"url\": \"Naming/ExaminationReport/machineId\",\n" +
                "            \"valueString\": \"Voluson E8\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"identifier\": [\n" +
                "          {\n" +
                "            \"system\": \"Naming/ExaminationReport/reportNo\",\n" +
                "            \"value\": \"202001210595.1\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"basedOn\": [\n" +
                "          {\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/ExaminationReport/requestNo\",\n" +
                "                \"valueString\": \"68179475\"\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/ExaminationReport/requestType\",\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"02-01\",\n" +
                "                  \"display\": \"超声\"\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/ExaminationReport/orderTime\",\n" +
                "                \"valueDate\": \"2020-01-21T13:26:54\"\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/ExaminationReport/requestDoctor\",\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"-\",\n" +
                "                  \"display\": \"张元珍\"\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/ExaminationReport/requestDept\",\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"-\",\n" +
                "                  \"display\": \"产科门诊(5楼)\"\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/ExaminationReport/examPosi\",\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"99\",\n" +
                "                  \"display\": \"其他\"\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/ExaminationReport/examMethod\",\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"62\",\n" +
                "                  \"display\": \"常规\"\n" +
                "                }\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/ExaminationReport/examCategory\",\n" +
                "                \"valueString\": \"彩超\"\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/ExaminationReport/specialFlag\",\n" +
                "                \"valueBoolean\": false\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ],\n" +
                "        \"status\": \"final\",\n" +
                "        \"code\": {\n" +
                "          \"coding\": [\n" +
                "            {\n" +
                "              \"system\": \"CodeSystem/ExaminationReport/documentType\",\n" +
                "              \"code\": \"C0006-3\",\n" +
                "              \"display\": \"超声检查报告单\"\n" +
                "            }\n" +
                "          ],\n" +
                "          \"text\": \"产科彩超：胎儿早孕期NT检查（单胎）\"\n" +
                "        },\n" +
                "        \"subject\": {\n" +
                "          \"extension\": [\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/patientName\",\n" +
                "              \"valueString\": \"刘依婷\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"CodeSystem/ExaminationReport/gender\",\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"2\",\n" +
                "                \"display\": \"女\"\n" +
                "              }\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/age\",\n" +
                "              \"valueString\": \"31\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/birthDate\",\n" +
                "              \"valueDate\": \"1989-09-05T00:00:00\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/complaint\",\n" +
                "              \"valueString\": \"无\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/symptomStartDate\",\n" +
                "              \"valueDate\": \"2020-01-14\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/symptomStopDate\",\n" +
                "              \"valueDate\": \"2020-01-14\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/symptomDescription\",\n" +
                "              \"valueString\": \"无\"\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"context\": {\n" +
                "          \"extension\": [\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/visitNo\",\n" +
                "              \"valueString\": \"A18613019*\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"CodeSystem/ExaminationReport/visitType\",\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"01\",\n" +
                "                \"display\": \"门诊\"\n" +
                "              }\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/visitSqNo\",\n" +
                "              \"valueString\": \"13279972\"\n" +
                "            },\n" +
                "            {\n" +
                "              \"url\": \"Naming/ExaminationReport/ward\",\n" +
                "              \"valueCoding\": {\n" +
                "                \"code\": \"-\"\n" +
                "              }\n" +
                "            }\n" +
                "          ]\n" +
                "        },\n" +
                "        \"effectiveDateTime\": \"2020-01-21T13:46:17\",\n" +
                "        \"issued\": \"2020-01-21T13:46:17\",\n" +
                "        \"performer\": [\n" +
                "          {\n" +
                "            \"actor\": {\n" +
                "              \"extension\": [\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/examDoctor\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"002636\",\n" +
                "                    \"display\": \"胡维茜\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/examDept\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"0104\",\n" +
                "                    \"display\": \"超声科\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/examDate\",\n" +
                "                  \"valueDate\": \"2020-01-21T13:26:56\"\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/reportWriterDoctor\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"002636\",\n" +
                "                    \"display\": \"向璐\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/reportWriterDept\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"0104\",\n" +
                "                    \"display\": \"超声科\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/reportReviewDoctor\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"002636\",\n" +
                "                    \"display\": \"胡维茜\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/otherReportReviewDoctor\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"002636\",\n" +
                "                    \"display\": \"胡维茜\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/reportReviewDept\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"0104\",\n" +
                "                    \"display\": \"超声科\"\n" +
                "                  }\n" +
                "                },\n" +
                "                {\n" +
                "                  \"url\": \"Naming/ExaminationReport/testTechnician\",\n" +
                "                  \"valueCoding\": {\n" +
                "                    \"code\": \"002636\",\n" +
                "                    \"display\": \"胡维茜\"\n" +
                "                  }\n" +
                "                }\n" +
                "              ]\n" +
                "            }\n" +
                "          }\n" +
                "        ],\n" +
                "        \"specimen\": [\n" +
                "          {\n" +
                "            \"reference\": \"#specimen\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"result\": [\n" +
                "          {\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"Naming/ExaminationReport/diagnosisProcessDescription\",\n" +
                "                \"valueString\": \"无\"\n" +
                "              },\n" +
                "              {\n" +
                "                \"url\": \"Naming/ExaminationReport/comment\",\n" +
                "                \"valueString\": \"-\"\n" +
                "              }\n" +
                "            ],\n" +
                "            \"reference\": \"#quanResult\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"conclusion\": \"胎儿：单胎；胎盘部位：(后壁)；胎盘分级（0）胎儿生物物理评分：心跳（有） 胎动（有） 胎儿张力（有） 胎儿呼吸运动（未见）-------------------------------------------------------------------------------  CRL：5.88cm，临床孕周12W1D    胎心率：154次/分，羊水：最大深度 3..8cm   NT： 0.26cm，超声孕周12W3D    胎盘厚度：1.5cm，下缘（距离）宫颈内口 1.9cm-------------------------------------------------------------------------------颅骨环完整      胃泡可显示      腹壁完整        左上肢可显示  右上肢可显示    左下肢可显示    右下肢可显示    脐带胎盘附着旁正中 ------------------------------------------------------------------------------- 孕妇左、右侧附件区显示不清-------------------------------------------------------------------------------其他：因孕妇脂肪层较厚，探查过程困难，图像显示模糊。\",\n" +
                "        \"codedDiagnosis\": [\n" +
                "          {\n" +
                "            \"coding\": [\n" +
                "              {\n" +
                "                \"extension\": [\n" +
                "                  {\n" +
                "                    \"url\": \"Naming/ExaminationReport/diagnoseDate\",\n" +
                "                    \"valueDateTime\": \"2020-01-21T13:26:56\"\n" +
                "                  }\n" +
                "                ],\n" +
                "                \"system\": \"CodeSystem/ExaminationReport/diagnose\",\n" +
                "                \"code\": \"-\",\n" +
                "                \"display\": \"早孕\"\n" +
                "              },\n" +
                "              {\n" +
                "                \"system\": \"CodeSystem/ExaminationReport/isPositive\",\n" +
                "                \"code\": \"0\"\n" +
                "              },\n" +
                "              {\n" +
                "                \"system\": \"CodeSystem/ExaminationReport/resultCode\",\n" +
                "                \"code\": \"1\",\n" +
                "                \"display\": \"正常\"\n" +
                "              }\n" +
                "            ],\n" +
                "            \"text\": \"单活胎 胎儿NT稍增宽（建议产前诊断咨询) 建议胎儿20W-24W系统筛查\"\n" +
                "          }\n" +
                "        ],\n" +
                "        \"presentedForm\": [\n" +
                "          {\n" +
                "            \"id\": \"file\",\n" +
                "            \"extension\": [\n" +
                "              {\n" +
                "                \"url\": \"CodeSystem/ExaminationReport/attachmentType\",\n" +
                "                \"valueCoding\": {\n" +
                "                  \"code\": \"0\",\n" +
                "                  \"display\": \"PDF\"\n" +
                "                }\n" +
                "              }\n" +
                "            ]\n" +
                "          },\n" +
                "          {\n" +
                "            \"id\": \"url\",\n" +
                "            \"url\": \"http://192.168.10.195:8888/group1/M00/0B/08/wKgKol8NNxCAUsm3AAaIh2p2sGM3010075\"\n" +
                "          }\n" +
                "        ]\n" +
                "      }\n" +
                "    }\n" +
                "  ]\n" +
                "}";
        return str;
    }

    @RequestMapping(value = "/cesLis", produces= PRODUCE_UTF8_JSON)
    @ResponseBody
    public String cesLis(){
        File file = new File("C:\\Users\\HZW\\Desktop\\TXKCQZD\\cqzd\\src\\main\\java\\com\\hntxk\\cqzd\\common\\action\\json.json");//// 定义一个file对象，用来初始化FileReader
        return comm(file);
//    return str;
    }


    public String comm(File file){
        String str = "";
        FileReader reader = null;//定义一个fileReader对象，用来初始化BufferedReader
        try {
            reader = new FileReader(file);
            BufferedReader bReader = new BufferedReader(reader);//new一个BufferedReader对象，将文件内容读取到缓存
            StringBuilder sb = new StringBuilder();//定义一个字符串缓存，将字符串存放缓存中
            String s = "";
            while ((s =bReader.readLine()) != null) {//逐行读取文件内容，不读取换行符和末尾的空格
                sb.append(s).append("\n");//将读取的字符串添加换行符后累加存放在缓存中
            }
            bReader.close();
            str = sb.toString();
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return str;
    }
}
